public class Txt08 {
	public static void main(String[] args ) {	
		int n[]= {1,2,3,4,5,6,7,8,9,63};
		int i,max,min;
		max=n[0];
		min=n[0];
		for(i=0;i<10;i++)
			if(n[i]>max)
				max=n[i];
			else if(n[i]<min)
				min=n[i];
		System.out.println(max);
		System.out.println(min);
	}
}
